<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table>
<!--        <tr th:each="manager:${m}">-->
<!--            <td th:text="${manager.id}"></td>-->
<!--            <td th:text="${manager.mangerName}"></td>-->
<!--            <td th:text="${manager.mangerPsw}"></td>-->
<!--        </tr>-->
        <tr>
            <td>id</td>
            <td>username</td>
            <td>realname</td>
            <td>password</td>
            <td>sex</td>
        </tr>
        <tr th:each="alls:${all}">
            <td th:text="${alls.id}"></td>
            <td th:text="${alls.username}"></td>
            <td th:text="${alls.realname}"></td>
            <td th:text="${alls.password}"></td>
            <td th:text="${alls.sex}"></td>
            <td><a th:href="@{/user/delete(id=${alls.id})}">删除</a></td>
        </tr>
    </table>
</body>
</html>